package apiday01.object;

/**
 * toString()默认为类的全称@hashCode值，通常重写
 */
public class ObjectDemo {
    public static void main(String[] args) {
        Point p = new Point(100,200);
        System.out.println(p);
        System.out.println(p.toString());
    }
}
